/**
 * 
 */
package com.leyu.search.index.domain;

import java.io.Serializable;
import java.util.Date;

import org.apache.solr.client.solrj.beans.Field;

/**
 * @author change
 *
 */
public class GoodsIndexItem implements Serializable { 
	@Field
	private String area;//区域
	
	 
	@Field
	private String brand;//品牌	 
	@Field
	private String system; //操作系统
	@Field
	private Double screenSize; //屏幕尺寸
	@Field
	private String specials; //特征
	@Field
	private String tags; //普通的tag
	@Field
	private int soldQuantity;//销量
	@Field
	private int commentsCount;//评论数
	//筛选属性结束-------------------------------------------
	 
	@Field
	private String storeArea; //库存所在地
	@Field
	private String logisticType; //配送方式
	@Field
	private int storeQuantity; //库存量
	@Field
	private String id; //商品ID
	@Field
	private Long cateId1;//一级类目ID
	@Field
	private Long cateId2;
	@Field
	private Long cateId3; 
	@Field
	private String name; //商品名称
	@Field
	private Float price; //价格
	@Field
	private String thumbnail;//缩略图 	 
	@Field
	private Date openDateTime; //上架时间
	@Field
	private String details;// 详细信息
	@Field
	public String keywords;
	@Field
	public Long areaId;
	@Field
	public Long brandId;
	@Field
	public Long priceRangeId;
	@Field
	public Long systemId;
	@Field
	public Long screenSizeId;
	@Field
	public Long specialId;
	
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public Float getPrice() {
		return price;
	}
	public void setPrice(Float price) {
		this.price = price;
	}
	public String getSystem() {
		return system;
	}
	public void setSystem(String system) {
		this.system = system;
	}
	public Double getScreenSize() {
		return screenSize;
	}
	public void setScreenSize(Double screenSize) {
		this.screenSize = screenSize;
	}
	 
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public int getCommentsCount() {
		return commentsCount;
	}
	public void setCommentsCount(int commentsCount) {
		this.commentsCount = commentsCount;
	}
	public String getStoreArea() {
		return storeArea;
	}
	public void setStoreArea(String storeArea) {
		this.storeArea = storeArea;
	}
	public String getLogisticType() {
		return logisticType;
	}
	public void setLogisticType(String logisticType) {
		this.logisticType = logisticType;
	}
	public int getStoreQuantity() {
		return storeQuantity;
	}
	public void setStoreQuantity(int storeQuantity) {
		this.storeQuantity = storeQuantity;
	}
	 
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Long getCateId1() {
		return cateId1;
	}
	public void setCateId1(Long cateId1) {
		this.cateId1 = cateId1;
	}
	public Long getCateId2() {
		return cateId2;
	}
	public void setCateId2(Long cateId2) {
		this.cateId2 = cateId2;
	}
	public Long getCateId3() {
		return cateId3;
	}
	public void setCateId3(Long cateId3) {
		this.cateId3 = cateId3;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getThumbnail() {
		return thumbnail;
	}
	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}
	public Date getOpenDateTime() {
		return openDateTime;
	}
	public void setOpenDateTime(Date openDateTime) {
		this.openDateTime = openDateTime;
	}
	public String getDetails() {
		return details;
	}
	public void setDetails(String details) {
		this.details = details;
	}
	
	public String getKeywords() {
		return keywords;
	}
	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}
	public Long getAreaId() {
		return areaId;
	}
	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}
	public Long getBrandId() {
		return brandId;
	}
	public void setBrandId(Long brandId) {
		this.brandId = brandId;
	}
	public Long getPriceRangeId() {
		return priceRangeId;
	}
	public void setPriceRangeId(Long priceRangeId) {
		this.priceRangeId = priceRangeId;
	}
	public Long getSystemId() {
		return systemId;
	}
	public void setSystemId(Long systemId) {
		this.systemId = systemId;
	}
	public Long getScreenSizeId() {
		return screenSizeId;
	}
	public void setScreenSizeId(Long screenSizeId) {
		this.screenSizeId = screenSizeId;
	}
	public Long getSpecialId() {
		return specialId;
	}
	public void setSpecialId(Long specialId) {
		this.specialId = specialId;
	}
	public String getSpecials() {
		return specials;
	}
	public void setSpecials(String specials) {
		this.specials = specials;
	}
	
	public int getSoldQuantity() {
		return soldQuantity;
	}
	public void setSoldQuantity(int soldQuantity) {
		this.soldQuantity = soldQuantity;
	}
	@Override
	public String toString() {
		return "GoodsIndexItem [area=" + area + ", brand=" + brand
				+ ", system=" + system + ", screenSize=" + screenSize
				+ ", specials=" + specials + ", tags=" + tags
				+ ", commentsCount=" + commentsCount + ", storeArea="
				+ storeArea + ", logisticType=" + logisticType
				+ ", storeQuantity=" + storeQuantity + ", id=" + id
				+ ", cateId1=" + cateId1 + ", cateId2=" + cateId2
				+ ", cateId3=" + cateId3 + ", name=" + name + ", price="
				+ price + ", thumbnail=" + thumbnail + ", openDateTime="
				+ openDateTime + ", details=" + details + ", keywords="
				+ keywords + ", areaId=" + areaId + ", brandId=" + brandId
				+ ", priceRangeId=" + priceRangeId + ", systemId=" + systemId
				+ ", screenSizeId=" + screenSizeId + ", specialId=" + specialId
				+ "]";
	}
 
	
	
}
